package com.linln.admin.system.validator;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;
import java.util.Date;

/**
 * Created by PH on 2019/5/20.
 */
@Data
public class UserAddressValid  implements Serializable {

    @NotEmpty(message = "用户名不能为空")
    private String username;
    @NotEmpty(message = "省不能为空")
    private String province;
    @NotEmpty(message = "市不能为空")
    private String city;
    @NotEmpty(message = "县不能为空")
    private String town;
    @NotEmpty(message = "详细地址不能为空")
    private String others;
    @NotEmpty(message = "联系方式不能为空")
    private String mobile;

}
